import request from '@/utils/request'
// 抢修管理
// 抢修任务
// 抢修列表数据
export function repairtaskList(data) {
  return request({
    url: '/admin/systemRushRepair/list',
    method: 'post',
    data
  })
}
// 附件列表
export function seeAccessory(data) {
  return request({
    url: '/admin/systemRushRepairFile/list',
    method: 'post',
    data
  })
}
// 抢修任务添加附件
export function addPlanFile(data) {
  return request({
    url: '/admin/systemRushRepairFile/create',
    method: 'post',
    data
  })
}
// 删除附件
export function deleteAccessory(data) {
  return request({
    url: '/admin/systemRushRepairFile/delete',
    method: 'post',
    data
  })
}
// 抢修任务详情
export function taskDetail(data) {
  return request({
    url: '/admin/systemRushRepair/detail',
    method: 'post',
    data
  })
}
// 进度
export function progre(data) {
  return request({
    url: '/admin/systemTaskProgress/workProgress',
    method: 'post',
    data
  })
}
// 抢修记录
export function repairRecordList(data) {
  return request({
    url: '/admin/systemRushRepair/taskList',
    method: 'post',
    data
  })
}
